-- GENERATED SPELL FOR [Marisalira] --


function spell0_30254(pUnit, Event) --@Fiery Intellect,Self--
pUnit:FullCastSpellOnTarget(35917,pUnit)
pUnit:RegisterEvent('Sorts_30254', 567, 1)
end

function Sorts_30254(pUnit, Event)
local choix_sorts_30254 = math.random(0, 0)
if choix_sorts_30254 == 0 then
pUnit:RegisterEvent('spell0_30254', 1, 1)
end
end

function mob30254_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30254', math.random(1500, 3000), 1)
end

function mob30254_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30254_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30254_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30254, 1, 'mob30254_Action')
RegisterUnitEvent(30254, 2, 'mob30254_Leave')
RegisterUnitEvent(30254, 3, 'mob30254_Kill')
RegisterUnitEvent(30254, 4, 'mob30254_Die')
